package com.sykuku.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.sykuku.common.R;
import com.sykuku.dto.DishDto;
import com.sykuku.pojo.Dish;

public interface DishService extends IService<Dish> {

    Page<DishDto> dishPage(Integer page, Integer pageSize, String name);

    void saveWithFlavor(DishDto dishDto);

    DishDto getByIdWithFlavor(Long id);

    void updateWithFlavor(DishDto dishDto);
}
